PgContext.defaultBreak

This is the default break algorithm.

It applies rules from the Unicode Line Breaking Algorithm without language-specific tailoring, therefore the @analyis argument is unused and can be %NULL.

See [func@Pango.tailor_break] for language-specific breaks.

See [func@Pango.attr_break] for attribute-based customization.

class PgContext
static
void
defaultBreak

Parameters

text string

text to break. Must be valid UTF-8

length int

length of text in bytes (may be -1 if @text is nul-terminated)

analysis PangoAnalysis*

a PangoAnalysis structure for the @text

attrs PangoLogAttr*

logical attributes to fill in

attrsLen int

size of the array passed as @attrs

Meta